package com.lovo.stock.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 供应商类
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("t_supplier")
public class SupplierBean implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    //供应商id
    @Excel(name = "主键",orderNum = "1")
    @TableId(value = "supplier_id",type= IdType.AUTO)
    private Integer supplierId;
    //供应商姓名
    @Excel(name = "供应商姓名",orderNum = "2")
    private String supplierName;
    //供应商经营范围
    @Excel(name = "供应商经营范围",orderNum = "3")
    @TableField("supplier_natureOfBusiness")
    private String supplierNatureOfBusiness;
    //供应商地址
    @Excel(name = "供应商地址",orderNum = "4")
    private String supplierAddress;
    //供应商负责人
    @Excel(name = "供应商负责人",orderNum = "5")
    private String supplierDirector;
    //供应商电话
    @Excel(name = "供应商电话",orderNum = "6")
    private String supplierTel;

}
